from django.urls import path
from rest_framework.routers import DefaultRouter

from apps.inform import views

app_name = "inform"

router = DefaultRouter(trailing_slash=False)
router.register("inform", views.InformViewSet, basename="inform")

urlpatterns = [
                  path('inform/read', views.ReadInformView.as_view(), name="read_inform"),
              ] + router.urls
